package com.lsu.command.homework;

/**
 * 请求对象
 *
 * @Author wang suo
 * @Date 2020/10/20 0020 19:21
 * @Version 1.0
 */
public class RequestMakeDir {
    private Command command;

    public void setCommand(Command command) {
        this.command = command;
    }

    public void startExecuteCommand(String path) {
        command.execute(path);
    }

    public void undoCommand() {
        command.undo();
    }

    public void redoCommand() {
        command.redo();
    }
}
